﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="detailDeposit.aspx.cs" Inherits="admin_detailDeposit" MasterPageFile="~/admin/MasterPage2.master"%>

<%@ Register assembly="AjaxControlToolkit" namespace="AjaxControlToolkit" tagprefix="cc1" %>

<asp:Content ID="Content1" runat="server" 
    contentplaceholderid="ContentPlaceHolder1">
    <table  cellpadding="0" cellspacing="0" class="letraAzul" width="1100px">
    <tr>
    <td  bgcolor="#FA7E02">
        <cc1:ToolkitScriptManager ID="ToolkitScriptManager1" runat="server">
        </cc1:ToolkitScriptManager>
        </td>
    </tr>
    <tr>
    <td bgcolor="White" align="char">
        <table align="center">
            <tr>
                
                <td align="char">
                    <asp:Panel ID="pdeposit" runat="server" CssClass="popup" Width="900px">
                        <table align="center" width="800px">
                           
                            <tr>
                                <td colspan="4">
                                    <asp:Panel ID="Pdetail" runat="server" BorderColor="Silver" 
                                        BorderStyle="Outset" Width="800px">
                                    <table class="letraNegra13" width="800"> 
                                     <tr>
                                <td bgcolor="#FA7E02" class="caption" colspan="4">
                                    Deposit Information</td>
                            </tr><tr>
                                <td>
                                    Bank:</td>
                                <td>
                                    <asp:DropDownList ID="cb_bank1" runat="server" CssClass="txtForm">
                                    </asp:DropDownList>
                                    <asp:TextBox ID="tb_iddep" runat="server" CssClass="txtForm" Visible="False"></asp:TextBox>
                                </td>
                                <td>
                                    Reference:</td>
                                <td>
                                    <asp:TextBox ID="tb_reference1" runat="server" CssClass="txtForm"></asp:TextBox>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    Deposit Date:</td>
                                <td>
                                    <asp:TextBox ID="tb_date1" runat="server" CssClass="txtForm"></asp:TextBox>
                                    <cc1:CalendarExtender ID="tb_date1_CalendarExtender" runat="server" Format="MM/dd/yyyy"
                                        TargetControlID="tb_date1">
                                    </cc1:CalendarExtender>
                                </td>
                                <td>
                                    Amount:</td>
                                <td>
                                    <asp:TextBox ID="tb_amount" runat="server" CssClass="txtForm"></asp:TextBox>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    &nbsp;</td>
                                <td>
                                    &nbsp;</td>
                                <td>
                                    <asp:Label ID="lb_total" runat="server" Text="Total of check:"></asp:Label>
                                </td>
                                <td>
                                    <asp:TextBox ID="tb_total" runat="server" CssClass="txtForm" Enabled="False" 
                                        AutoPostBack="True"></asp:TextBox>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <asp:LinkButton ID="Button6" runat="server" CssClass="button2_ok" 
                                        Enabled="False" ForeColor="White" onclick="Button2_Click" Visible="False"><span>Report</span></asp:LinkButton>
                                </td>
                                <td colspan="3">
                                
                                <asp:LinkButton ID="btn_edit" runat="server" CssClass="button2_ok" 
                                        ForeColor="White" onclick="Button8_Click" Visible="False"><span>Edit</span></asp:LinkButton>
                                    <asp:LinkButton ID="bt_save" runat="server" CssClass="button2_ok" 
                                        ForeColor="White" onclick="Button5_Click" Visible="False"><span>Save</span></asp:LinkButton>
                                    <asp:LinkButton ID="lnk_update" runat="server" CssClass="button2_ok" 
                                        ForeColor="White"  Visible="False" onclick="lnk_update_Click"><span>Save</span></asp:LinkButton>
                                </td>
                            </tr></table>
                                    </asp:Panel>
                                </td>
                            </tr>
                           

                            <tr>
                                <td>
                                    &nbsp;</td>
                                <td>
                                    &nbsp;</td>
                                <td>
                                    &nbsp;</td>
                                <td>
                                    &nbsp;</td>
                            </tr>
                            <tr align="center">
                                <td colspan="4">
                                    <asp:Panel ID="Plistdep" runat="server" HorizontalAlign="Left">
                                        <asp:GridView ID="gv_deposit" runat="server" Width="800px" 
                                            onrowdatabound="gv_deposit_RowDataBound" HorizontalAlign="Center" 
                                            
                                            Caption="<table border='0' width='100%' cellpadding='0' cellspacing='0' class='caption' bgcolor='#FA7E02'><tr><td>Checks in this Deposit</td></tr></table>" 
                                            CssClass="letra" ForeColor="Black" >
                                            <Columns>
                                                <asp:TemplateField>
                                                  <ItemTemplate>
                                               
                                                      <asp:HyperLink ID="HyperLink1" runat="server"  BorderWidth="0" BorderStyle="None" ImageUrl="~/img/icon_content_small.gif" NavigateUrl='<%#"detailCheck.aspx?id=" + Eval("chkid") %>' />
                                                     </ItemTemplate></asp:TemplateField>
                                                
                                            </Columns>
                                        </asp:GridView>
                                    </asp:Panel>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    &nbsp;</td>
                                <td>
                                    &nbsp;</td>
                                <td>
                                    &nbsp;</td>
                                <td>
                                    &nbsp;</td>
                            </tr>
                                                       <tr>
                                <td colspan="4">
                               
                                    <asp:LinkButton ID="btn_addcheck" runat="server" CssClass="button2_ok" 
                                        ForeColor="White" Visible="False" onclick="Button3_Click"><span>Add Check</span></asp:LinkButton>
                                     <asp:LinkButton ID="bt_finish" runat="server" CssClass="button2_ok" 
                                        ForeColor="White" onclick="bt_finish_Click" Visible="False"><span>Close</span></asp:LinkButton>
                                 
                                     
                                 
                                   
                                        <asp:ImageButton ID="bt_hide" runat="server" ImageUrl="~/blank.gif" />
                                   
                                  <cc1:ModalPopupExtender ID="bt_finish_ModalPopupExtender" runat="server" BackgroundCssClass="FondoAplicacion"
                                        DynamicServicePath="" Enabled="True" TargetControlID="bt_hide" PopupControlID="PMsg" OkControlID="lnk_msg_ok">
                                    </cc1:ModalPopupExtender>
                                    
                                  

                                   
                                </td>
                            </tr>
                        </table>
                    </asp:Panel>
                </td>
            </tr>
            
            <tr>
                
                <td>
                    <asp:Panel ID="PMsg" runat="server" CssClass="popup" Width="300px" 
                        Visible="true">
                       <table width="300">
                                               
                                                <tr>
                                                    <td style="text-align: center">
                                                        &nbsp;</td>
                                                </tr>
                                                <tr>
                                                    <td style="text-align: center">
                                                        <asp:Label ID="lb_msg" runat="server" CssClass="letraNegra13"></asp:Label>
                                                    </td>
                                                </tr>
                                                <tr>
                                                    <td align="center">
                                                        <table align="center">
                                                            <tr>
                                                                <td>
                                                                    <asp:LinkButton ID="lnk_msg_ok" runat="server" CssClass="button2_ok" 
                                                                        ForeColor="White" onclick="lnk_msg_ok_Click"  ><span>Cancel</span></asp:LinkButton>
                                                                </td><td>
                                                                    <asp:LinkButton ID="lnk_msg_ok0" runat="server" CssClass="button2_ok" 
                                                                        ForeColor="White" onclick="lnk_msg_ok0_Click"><span>Close</span></asp:LinkButton>
                                                                </td>
                                                                
                                                            </tr>
                                                        </table>
                                                    </td>
                                                    
                                                </tr>
                                            </table>
                    </asp:Panel>
                </td>
            </tr>
        </table>
        </td>
    </tr>
    <tr>
    <td bgcolor="White">&nbsp;</td>
    </tr>
    </table>
</asp:Content>





